<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.yootk.listener.SessionBindingMonitor" %>
<html>
<head>
    <title>Session属性绑定监听</title>
</head>
<body>
<%
    SessionBindingMonitor user = new SessionBindingMonitor("yootk.com"); // 设置用户名
    session.setAttribute("user", user); // 属性保存
    Thread.sleep(3000); // 等待3秒的时间
    session.removeAttribute("user"); // 属性删除
%>
</body>
</html>
